dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2c5dce
)
Tweak profile calls
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 9 Dec 2008 11:51:00 +0000
(11:51 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 9 Dec 2008 11:51:00 +0000
(11:51 +0000)
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
26bad27
..
96fca66
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-351,13
+351,11
@@
class MediaWiki {
* @param $updates array of objects that hold an update to do
*/
function doUpdates( &$updates ) {
- wfProfileIn( __METHOD__ );
/* No need to get master connections in case of empty updates array */
- if (!$updates) {
- wfProfileOut( __METHOD__ );
+ if( !$updates ) {
return;
}
-
+ wfProfileIn( __METHOD__ );
$dbw = wfGetDB( DB_MASTER );
foreach( $updates as $up ) {
$up->doUpdate();